const mongoose = require("../../db/db");

/**
 * @description 产品-行业类目关联表
 */
const Schema = mongoose.Schema({
    
    
    //产品id
    productId: {
        type: String,
        require: true
    },
    //行业类目id
    professionId: {
        type: String,
        require: true
    },
    //排序
    sort: {
        type: Number,
        default: 1
    },
    //状态
    status: {
        type: Number,
        default: 1
    }
})
const MAIN_TAB_BRAND = mongoose.model("product_profession_link", Schema);
module.exports = MAIN_TAB_BRAND;